package com.xhwl.data.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.common.pojo.cent.sdata.Block;
import com.xhwl.common.query.cent.sdata.BlockQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 16:07 2021/7/16
 */
@Repository
public interface IBlockDao extends BaseMapper<Block> {


    List<Block> list(@Param("blockQuery") BlockQuery blockQuery);

    Page<Block> page(@Param("page") Page page, @Param("blockQuery") BlockQuery blockQuery);
}
